import request from '@/utils/request'

const baseApi = process.env.VUE_APP_BASE_API + '/course/mineHomeWork'

export function getHwCheckList(hwId) {
  return request({
    url: `${baseApi}/checkList`,
    method: 'get',
    params: { hwId }
  })
}

export function doSubmitCheck(reqData) {
  return request({
    url: `${baseApi}/doSubmitCheck`,
    method: 'post',
    data: reqData
  })
}
